home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000422_fine@cis.ohio-state.edu _Wed Dec 2 01:44:09 1992.msg < prev    next >
Internet Message Format  |  1994-01-24  |  5KB

  1. Return-Path: <fine@cis.ohio-state.edu>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA04342; Wed, 2 Dec 92 01:44:09 MET
  4. Received: by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  5.     id AA22811; Wed, 2 Dec 1992 01:57:17 +0100
  6. Received: by soccer.cis.ohio-state.edu (5.61-kk/5.911008)
  7.     id AA18034; Tue, 1 Dec 92 19:57:14 -0500
  8. Date: Tue, 1 Dec 92 19:57:14 -0500
  9. From: Thomas A. Fine <fine@cis.ohio-state.edu>
  10. Message-Id: <9212020057.AA18034@soccer.cis.ohio-state.edu>
  11. To: www-talk@nxoc01.cern.ch
  12. Subject: Ideas for the future
  13. X-Mailer: Perl Mail System v1.1
  14.  
  15.  
  16. Idea 1.  HTML  (Just a nice feature)
  17. ------------------------------------
  18.  
  19. I'd like to be able to PUT files onto remote sites.
  20.  
  21. The idea is, that documents might be maintained by people at different
  22. sites.  As it is, they have to coordinate updates through email, and it's
  23. generally a pain.  What you'd want is to just connect, get the docuement,
  24. edit it, and put it back.  (Ideally, you'd have an editor built into your
  25. browser to do this, but that's another problem.)
  26.  
  27. (BTW, Is the only proposed new HTTP stuff in
  28.  http://info.cern.ch/hypertext/WWW/Protocols/HTTP.html ?  I couldn't find
  29.  anything mentioning either disconnection or end of document in that proposal)
  30.  
  31. PUT docuement
  32.   If you don't have permission -> Permission Denied
  33.   If the file already exists, and you don't have a lock -> Document not locked
  34.   Otherwise, the server would return READY, the client would send the
  35.     data, unlock the file (if locked), and disconnect.
  36.  
  37. LOCK document
  38.   If you don't have permission -> Permission Denied
  39.   If the file doesn't exist -> No such document
  40.   If the file is already locked -> Document already locked
  41.   Otherwise the server marks the document as locked, and returns a copy to you.
  42.  
  43. If you want to keep the server stateless, then you can't store lock
  44. information.  This means you have to do the LOCK and the PUT in the same
  45. connection.  This has the advantage that you can't possibly have stale
  46. locks - if the connection dies, the lock is automatically deleted.  But
  47. you can no longer rely on a disconnect to mean end of document.  You'd
  48. have to make another addition to the protocol - the response from the server
  49. would have to include the size of the document about to be transmitted.
  50. The other disadvantage to this is that editing may take a while -
  51.  
  52. On the other hand, if you are willing to make the server stateful, then
  53. you could still rely on disconnect to mark end of document, in the case of
  54. PUT the disconnect would come from the client.  Of course, with a stateful
  55. server, you'd have to expire the locks after a couple of days, in case some
  56. bozo forgot that he started to edit something.
  57.  
  58. Note that this will also gunk up your config file with access control stuff,
  59. especially if you want to selectively control write access.
  60.  
  61. This could potentially be useful for setting up free areas where anyone
  62. can document anything they like - we hope to set an area up like this here
  63. for local use, just to see if anything develops from it (but we still need
  64. a good editor).
  65.  
  66. Also, this might make a useful way to discuss things like this - rather than
  67. responding to my article, you could just add anchors to it in appropriate
  68. places that point to your response(s).
  69.  
  70. Idea 2.  HTML/HTTP  (something I think is needed)
  71. -------------------------------------------------
  72.  
  73. When you get lots of good documentation into WWW, there's going to need
  74. to be some guarentee of access to that information.  The best way to
  75. do that is with multiple servers.  From an HTTP standpoint, that only
  76. requires another attribute (or list of attributes if > 2 sites) be added
  77. for fallbacks:
  78.  
  79. <A NAME=id1 HREF=//info.cern.ch/hypertext/ImportantDocument
  80.      FALLBACK=//www.cis.ohio-state.edu/hypertext/ImportantDocument> ... </A>
  81.  
  82. or you could add numbered HREFS, or call them IREF, JREF, etc. :-), doesn't
  83. matter. (Or can you even have multiple attributes with the same identifier?)
  84.  
  85. I see this being used in two different ways.  In the first, a single site
  86. would run servers on more than one machine, in case one goes down.  The
  87. physical data would all be on the same disk(s), but mounted on both machines.
  88. In the second, different sites would provide mirroring of information,
  89. for instance, Ohio State would GET all of cerns documents and store them
  90. locally, and cern would include references to ohio state.
  91.  
  92. This looks like it might complicate things if we have implemented LOCK
  93. in the protocol.  In the second case, no problem.  Cern is the master,
  94. Ohio State just picks things up from cern.  In the first case, we can
  95. solve the problem similarly - configure one server to allow editing, and
  96. one to be read only.  Then if the main server goes down, you have no
  97. editing capability but you can still view the data.
  98.  
  99. Lastly, a good idea even if you don't implement multiple servers:  ping the
  100. site before you connect.
  101.  
  102. Idea 3.  Documents
  103. ------------------
  104.  
  105. Once we get things more settled, a good showcase for this system, and
  106. one that would really sell "The Net" on it, would be to convert all of
  107. the newsgroup FAQs to html documentation.  This wouldn't exactly be a
  108. trivial task (perhaps we could recruit some FAQ maintainers to help)
  109. but it would be of enormous value.  We could start on it now, and have
  110. it ready together with the software.
  111.  
  112.       tom
  113.